Skip to content

mi: Add support for multiple csi buffers#1000

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
chorkin:user/chorkin/dual_csi_upstream_no_aem
May 7, 2025
Merged

mi: Add support for multiple csi buffers#1000
igaw merged 1 commit intolinux-nvme:masterfrom
chorkin:user/chorkin/dual_csi_upstream_no_aem

Conversation

@chorkin
Copy link
Copy Markdown
Contributor

@chorkin chorkin commented Apr 22, 2025

These are used to send up to two concurrent requests over MI to the endpoint.

@chorkin
Copy link
Copy Markdown
Contributor Author

chorkin commented Apr 22, 2025

I believe there is a few more places we need to update with the CSI, but this is just an first pass of the idea.

@chorkin chorkin force-pushed the user/chorkin/dual_csi_upstream_no_aem branch 3 times, most recently from 2ea32e4 to 7c402a2 Compare April 22, 2025 22:05
@chorkin
Copy link
Copy Markdown
Contributor Author

chorkin commented Apr 22, 2025

@jk-ozlabs what do you think of this approach?

Comment thread src/nvme/mi.h Outdated
Comment thread src/nvme/mi.c Outdated
Comment thread src/nvme/mi.h Outdated
Comment thread examples/mi-mctp.c Outdated
Comment thread src/nvme/mi.c
@jk-ozlabs
Copy link
Copy Markdown
Collaborator

I believe there is a few more places we need to update with the CSI, but this is just an first pass of the idea.

OK, maybe mark as a draft then, so that we're not bugging @igaw too much 😄

@jk-ozlabs
Copy link
Copy Markdown
Collaborator

@jk-ozlabs what do you think of this approach?

Sounds good to me!

The major design point here is whether we make the caller responsible for assigning CSIs. I think that's the right choice, but probably warrants some thought to confirm.

@chorkin chorkin marked this pull request as draft April 23, 2025 18:11
@chorkin chorkin force-pushed the user/chorkin/dual_csi_upstream_no_aem branch 4 times, most recently from 66f414d to ed09666 Compare April 25, 2025 18:58
@chorkin chorkin marked this pull request as ready for review April 25, 2025 19:00
@chorkin chorkin force-pushed the user/chorkin/dual_csi_upstream_no_aem branch 2 times, most recently from 58fce7a to e79ad02 Compare April 25, 2025 19:03
@chorkin
Copy link
Copy Markdown
Contributor Author

chorkin commented Apr 26, 2025 via email

@chorkin
Copy link
Copy Markdown
Contributor Author

chorkin commented Apr 28, 2025

@jk-ozlabs , I think this is ready for full review at this point.

Copy link
Copy Markdown
Collaborator

@jk-ozlabs jk-ozlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, those new helpers make things cleaner.

A couple of comments inline.

Comment thread test/mi.c
Comment thread src/nvme/mi.c Outdated
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Apr 29, 2025

I see the two MI PRs getting ready to be merged. When both are ready, is there an order I have to pull them or they are completely independent?

@chorkin
Copy link
Copy Markdown
Contributor Author

chorkin commented May 1, 2025

I see the two MI PRs getting ready to be merged. When both are ready, is there an order I have to pull them or they are completely independent?

They are independent, but will generate merge conflicts, so I suggest we take whichever one is available first, and if they both are, let's do the AEM one first because it's much more changes.

@chorkin chorkin force-pushed the user/chorkin/dual_csi_upstream_no_aem branch 3 times, most recently from bc14996 to e929fbd Compare May 1, 2025 17:01
These are used to send up to two concurrent requests over MI
to the endpoint.

Signed-off-by: Chuck Horkin <[email protected]>
@igaw igaw force-pushed the user/chorkin/dual_csi_upstream_no_aem branch from e929fbd to acf75cf Compare May 7, 2025 13:02
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 7, 2025

rebased to resolve conflict in map file.

@igaw igaw merged commit 4a89153 into linux-nvme:master May 7, 2025
12 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented May 7, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants